package com.tanhua.model.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
@Data
@Document(collection = "voice_count")
public class VoiceCount implements Serializable {

    private ObjectId id;//主键id
    private Integer userId;//用户名
    private Integer sendCount;//发送次数
    private Integer receiveCount;//接收次数
    private Long date;//修改时间

}